package nuc.ss.sxt;

import javax.swing.*;

public class GanmeWin extends JFrame {

    int width = 1440;
    int height = 900;
    public void launch() { //游戏启动
        this.setVisible(true); //窗口可见
        this.setSize(width,height); //窗口大小
        this.setLocationRelativeTo(null); //窗口屏幕居中
        this.setTitle("2313042332赵子锐 - 大鱼吃小鱼");
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); //退出应用程序默认窗口关闭操作
    }

    public static void main(String[] args) {
        GanmeWin ganmeWin = new GanmeWin();
        ganmeWin.launch();
    }
}
